﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;

namespace Ccteg.Common
{

    /// <summary>
    ///法律法规标准
    /// </summary>
    public class Law_Law_ViewModel
    {
        /// <summary>
        ///主键
        /// </summary>

        public int Id { get; set; }

        /// <summary>
        ///法律法规标准名称--
        /// </summary>
        [Required(ErrorMessage = "法律法规标准名称不能为空")]
        [StringLength(50, ErrorMessage = "字符长度不能超过50个字")]
        public string LawName { get; set; }

        /// <summary>
		///法律编码
		/// </summary>
		public string LawNo { get; set; }

        /// <summary>
        ///类别--
        /// </summary>
        [Required(ErrorMessage ="请选择类型")]
        public string LawType { get; set; }

        /// <summary>
        ///上传单位--预留
        /// </summary>
        public string CompanyName { get; set; }

        /// <summary>
        ///上传单位编码--预留
        /// </summary>
        public string CompanyNo { get; set; }

        /// <summary>
        ///发布单位--
        /// </summary>
        public string Publish { get; set; }

        /// <summary>
        ///发布日期--
        /// </summary>
        public DateTime? PublishDate { get; set; }

        /// <summary>
        ///执行日期--
        /// </summary>
        public DateTime? DoDate { get; set; }

        /// <summary>
        ///行业--
        /// </summary>
        [Required(ErrorMessage = "请选择行业")]
        public string Trade { get; set; }

        /// <summary>
        ///级别--(国家级，部门别)
        /// </summary>
        [Required(ErrorMessage = "请选择级别")]
        public string Level { get; set; }

        /// <summary>
        ///审核状态--已审核，未审核
        /// </summary>
        public string State { get; set; }

        /// <summary>
        ///审批人--
        /// </summary>
        public string Checker { get; set; }

        /// <summary>
        ///审核时间
        /// </summary>
        public DateTime? PassDate { get; set; }

        /// <summary>
        ///拒绝原因
        /// </summary>
        public string NoPassContents { get; set; }

        /// <summary>
        ///下发状态--已下发，未下发
        /// </summary>
        public string SubState { get; set; }

        /// <summary>
        ///下发时间
        /// </summary>
        public DateTime? SubDate { get; set; }

        /// <summary>
        ///年份--
        /// </summary>
        public string Year { get; set; }

        /// <summary>
        ///版本--
        /// </summary>
        public string Version { get; set; }

        /// <summary>
        ///文件号--
        /// </summary>
        public string DocNum { get; set; }

        /// <summary>
        ///最修订日期--
        /// </summary>
        public DateTime? NewUpdateDate { get; set; }

        /// <summary>
        ///最新实施日期--
        /// </summary>
        public DateTime? NewDoDate { get; set; }

        /// <summary>
        ///备注--
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        ///附件--
        /// </summary>
        public string File { get; set; }

        /// <summary>
        ///创建时间
        /// </summary>
        public DateTime? CreatedOn { get; set; }

        /// <summary>
        ///修改时间
        /// </summary>
        public DateTime? ModifiedOn { get; set; }

        /// <summary>
        ///?默认空
        /// </summary>
        public string Domain { get; set; }

        /// <summary>
        ///?默认空
        /// </summary>
        public string TenantId { get; set; }

        /// <summary>
        ///排序
        /// </summary>
        public int? Sort { get; set; }

        /// <summary>
        ///创建人
        /// </summary>
        public string CreatedBy { get; set; }

        /// <summary>
        ///修改人
        /// </summary>
        public string ModifiedBy { get; set; }

        /// <summary>
        ///是否删除（本系统逻辑删除)
        /// </summary>
        public bool? Deleted { get; set; }

    }
}

